package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.dto.CheckGroupDTO;
import com.itheima.health.dto.SetmealDTO;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.Setmeal;
import com.itheima.health.vo.SetmealVO;

import java.util.List;


public interface SetmealService extends IService<Setmeal> {

    //新增
    void saveSetmeal(SetmealDTO setmealDTO);

    //分页
    PageResult findPage(QueryPageBean queryPageBean);

    //删除
    void deleteySetmeal(Integer id);

    //编辑
    List<Integer> checkGroupBySetmealId(int id);

    //套餐详情
    SetmealVO findSetMealDetail(int id);

    //查询套餐是否被预约
    int selectByUser (Integer id);

}
